<template>
  <div class="Persion">
    <el-tabs v-model="activeName" class="Persiontab">
      <el-tab-pane label="工作人员" name="first">
        <PersonJob v-if="activeName=='first'" />
      </el-tab-pane>
      <el-tab-pane label="角色管理" name="second">
        <PersionRole v-if="activeName=='second'" />
      </el-tab-pane>
      <el-tab-pane label="权限管理" name="three">
        <PersionPerssion v-if="activeName=='three'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import PersionRole from "../Person/PersionRole";
import PersonJob from "../Person/PersonJob";
import PersionPerssion from "../Person/PersionPerssion";
export default {
  data() {
    return {
      activeName: "first"
    };
  },
  components: {
    PersionRole,
    PersonJob,
    PersionPerssion
  }
};
</script>
<style lang="less">
.Persion {
  width: 98%;
  border: 1px solid #edeff4;
  background: #fff;

  .el-tabs__nav-scroll {
    overflow: hidden;
    display: flex;
    justify-content: center;
    justify-items: center;
    padding: 30px;
  }
  .el-tabs__item {
    font-size: 18px;
    font-family: "Microsoft YaHei";
  }
}
</style>